<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<title>佩奇快乐小鸡·修改版</title>
<style>
    html{height:100%;overflow:hidden;}
    body{margin:0;height:100%; background:#f2f2f2b4; cursor:pointer;}
    h1 { margin:0; height:50px; background:#333; line-height:50px; position:relative; z-index:999; filter:alpha(opacity:80); opacity:0.8;}
    h1 strong { color:#fff; font-family:arial; font-size:18px; position:absolute; top:0px; left:4%; }
    a { position:absolute; top:0px; right:20px; color:#fff; margin-right:50px; text-decoration:none; font-family:Arial, Helvetica, sans-serif; font-size:14px; font-weight:normal; }
    a:hover { text-decoration:underline; }
    h2{ margin:0; width:96%; padding:10px 0 14px 4%; background:#333; position:absolute; bottom:0; left:0; z-index:999; filter:alpha(opacity:80); opacity:0.8; color:#fff; font-size:12px; line-height:20px; font-family:Arial, Helvetica, sans-serif; font-weight:normal; }
    h2 strong { font-size:14px; }
    audio {
      width: 6.25rem !important;
    }
</style>
<script src="js/jquery.min.js"></script>
<script src="js/script.js"></script>
<script>
var count_a = 5; //一共多少MP3文件
var index = 'voice/9.mp3'; // 初始化播放那个文件
window.onload=function()
{
    var oTimer=null;
    var iLeft=0;
    var count=0;
    var iTop=0;
    var iWidth=35;
    var iHeight=35;
    var oDiv=document.getElementsByTagName("div")[0];
    document.oncontextmenu=function()
    {
        return false;
    };
    
    document.onmousedown=function(e)
    {
        var ev=e||event;
        iLeft=ev.clientX;
        iTop=ev.clientY;
        if(oTimer)
        {
            clearInterval(oTimer);
        }
        toAppend();
        // oTimer=setInterval(function(){toAppend();},50);
        return false;
    };
    document.touchstart=function(e) {};
    document.onmousemove=function(e)
    {
        var ev=e||event;
        iLeft=ev.clientX;
        iTop=ev.clientY;
        return false;
    };
    document.touchmove=function(e) {};
    document.onmouseup=function() {
        clearInterval(oTimer);
    };
    document.touchend=function() {};
    function toAppend() {
        var oImg=document.createElement("img");
        var sSrc="";
        var iAngle=parseInt(Math.random()*1000)%360*0.3;
        var iNubLeft=parseInt(Math.random()*100)%2?-parseInt(Math.random()*40):parseInt(Math.random()*40);
        var iNubTop=parseInt(Math.random()*100)%2?-parseInt(Math.random()*40):parseInt(Math.random()*40);
        var INub=parseInt(Math.random()*20);
        var iNubW=INub+iWidth;
        var iNubH=INub+iHeight;
        iNubLeft+=iLeft-25;
        iNubTop+=iTop-25;
        // var picNum = parseInt($("body").find("img").length)*10%5;
        // var picNum = parseInt(new Date().getSeconds())%10;
        // var picNum = parseInt(Math.random()*10);
        // var picNum = parseInt(Math.random()*100)%5;
        var picNum = parseInt(Math.random()*100)%10;
        // sSrc="https://static.ecosv.com/imgs/funnychicken/"+picNum+".png";
        sSrc="./img/"+picNum+".png";
        if (picNum == 2 || picNum == 3 || picNum == 8 || picNum == 9) {
            document.getElementById("myAudio8").play();
        } else {
            document.getElementById("myAudio7").play();
        }
        oImg.src=sSrc;
        oImg.onmousemove=function() {
            return false;
        };
        with(oImg.style) {
            width=iNubW+"px";
            height=iNubH+"px";
            position="absolute";
            left= count*20 + iLeft-(iNubW/2)+"px";
            top= count*20 + iTop-(iNubH/2)+"px";
        }
        css(oImg,"transform",iAngle);
        document.body.appendChild(oImg);
        if (parseInt(Math.random()*100)%2 > 0 && count == 0 && (picNum == 2 || picNum == 3)) {
            count++;
            toAppend();
        } else {
            count = 0;
        }
        $("#title_count").text("~ 快乐小鸡 ~ : 00"+$("body").find("img").length);
        starMove(oImg,{left:iNubLeft,top:iNubTop},1);
    };
};
</script>
<style></style>
</head>
<body style="cursor: url(&quot;null&quot;), default;">
    <h1>
        <big style="color: CornflowerBlue;" id="title_count">~ 快乐小鸡 ~: 000</big>
    </h1>
    <!-- <span tabindex="0" role="button" aria-label="暂停" id="voice_play_MzUxNjc1NDQ5MV8yMjQ3NTE2MTUx_0" class="audio_card_switch" title="按alt + 上下方向键可调音量"><em id="audio_play_btn" class="weui-wa-hotarea weui-audio-btn"></em></span> -->
    <h2><br><big style="color: CornflowerBlue;">-Chenx1anle1 CornflowerBlue</big></h2>
    <audio controls autoplay><source src="./voice/6.mp3" type="audio/mpeg">您的浏览器不支持 audio 与元素。</audio><!--  8音主题曲  -->
    <audio controls><source src="./voice/10.mp3" type="audio/mpeg">您的浏览器不支持 audio 与元素。</audio><!--  ED  -->
    <audio controls><source src="./voice/3.mp3" type="audio/mpeg">您的浏览器不支持 audio 与元素。</audio><!--  猪叫  -->
    <audio controls><source src="./voice/9.mp3" type="audio/mpeg">您的浏览器不支持 audio 与元素。</audio><!--  笑声  -->
    <audio id="myAudio7"><source src="./voice/7.mp3" type="audio/mpeg">您的浏览器不支持 audio 与元素。</audio><!--  啊？  -->
    <audio id="myAudio8"><source src="./voice/8.mp3" type="audio/mpeg">您的浏览器不支持 audio 与元素。</audio><!--  噗!  -->

    <!-- <audio controls autoplay><source src="../demo1/voice/6.mp3" type="audio/mpeg">您的浏览器不支持 audio 与元素。</audio> --><!--  8音主题曲  -->
    <!-- <audio controls><source src="../demo1/voice/10.mp3" type="audio/mpeg">您的浏览器不支持 audio 与元素。</audio> --><!--  ED  -->
    <!-- <audio controls><source src="../demo1/voice/3.mp3" type="audio/mpeg">您的浏览器不支持 audio 与元素。</audio> --><!--  猪叫  -->
    <!-- <audio controls><source src="../demo1/voice/9.mp3" type="audio/mpeg">您的浏览器不支持 audio 与元素。</audio> --><!--  笑声  -->
    <!-- <audio id="myAudio7"><source src="../demo1/voice/7.mp3" type="audio/mpeg">您的浏览器不支持 audio 与元素。</audio> --><!--  啊？  -->
    <!-- <audio id="myAudio8"><source src="../demo1/voice/8.mp3" type="audio/mpeg">您的浏览器不支持 audio 与元素。</audio> --><!--  噗!  -->

    <!-- <audio controls><source src="https://static.ecosv.com/imgs/funnychicken/10.mp3" type="audio/mpeg">您的浏览器不支持 audio 与元素。</audio> --><!--  ED  -->
    <!-- <audio controls><source src="https://static.ecosv.com/imgs/funnychicken/3.mp3" type="audio/mpeg">您的浏览器不支持 audio 与元素。</audio> --><!--  猪叫  -->
    <!-- <audio controls><source src="https://static.ecosv.com/imgs/funnychicken/9.mp3" type="audio/mpeg">您的浏览器不支持 audio 与元素。</audio> --><!--  笑声  -->
    <!-- <audio id="myAudio7"><source src="https://static.ecosv.com/imgs/funnychicken/7.mp3" type="audio/mpeg">您的浏览器不支持 audio 与元素。</audio> --><!--  啊？  -->
    <!-- <audio id="myAudio8"><source src="https://static.ecosv.com/imgs/funnychicken/8.mp3" type="audio/mpeg">您的浏览器不支持 audio 与元素。</audio> --><!--  噗!  -->
</body>
</html>